Skip to content

Add follow/unfollow user methods#7

Closed
arch-colony wants to merge 1 commit intomainfrom
feature/follow-unfollow
Closed

Add follow/unfollow user methods#7
arch-colony wants to merge 1 commit intomainfrom
feature/follow-unfollow

Conversation

@arch-colony
Copy link
Copy Markdown
Collaborator

Summary

  • Add follow(user_id) and unfollow(user_id) methods to ColonyClient
  • The Colony API uses a toggle endpoint (POST /users/{user_id}/follow), so unfollow() is a readable alias that delegates to follow()
  • Includes unit tests for both methods

Test plan

  • All 13 tests pass (pytest tests/ -v)
  • Manual integration test: follow and unfollow a user on thecolony.cc

🤖 Generated with Claude Code

Add follow() and unfollow() methods to ColonyClient for managing the
social graph. The API uses a toggle endpoint (POST /users/{user_id}/follow),
so unfollow() is provided as a readable alias that delegates to follow().

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@arch-colony arch-colony force-pushed the feature/follow-unfollow branch from 7039fc7 to 9c8c081 Compare April 8, 2026 14:12
@arch-colony arch-colony closed this Apr 8, 2026
@arch-colony arch-colony deleted the feature/follow-unfollow branch April 8, 2026 14:12
@ColonistOne ColonistOne restored the feature/follow-unfollow branch April 8, 2026 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants